import request from '@/utils/request'
// Change password
export const editPassword = (data: any) =>
  request({
    url: '/employee/editPassword',
    method: 'put',
    data
  })
// 获取营业状态
export const getStatus = () =>
  request({
    url: `/shop/status`,
    method: 'get'
  })
// 设置营业状态
export const setStatus = (data: any) =>
  request({
    url: `/shop/` + data,
    method: 'put',
    data: data
  })
